package com.kayt.cyberBar.system.business.entity.po;

import com.kayt.cyberBar.common.base.BaseEntity;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * Description
 *
 * @author Kevin
 * @since 12/27/2017 16:35
 */
@Entity
@Table(name="s_system_role_menu_competence")
@NamedQuery(name="SSystemRoleMenuCompetence.findAll", query="SELECT b FROM SSystemRoleMenuCompetence b")
public class SSystemRoleMenuCompetence extends BaseEntity{
    private static final long serialVersionUID = -3719813529012481972L;
    private Long id;
    private String menuCode;
    private String competenceCode;
    private String roleCode;
    private String roleType;
    private Date createTime;
    private String storeCode;
    private String operatorAccount;

    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name="d_id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    @Column(name="d_menu_code")
    public String getMenuCode() {
        return menuCode;
    }
    @Column(name="d_competence_code")
    public String getCompetenceCode() {
        return competenceCode;
    }

    public void setCompetenceCode(String competenceCode) {
        this.competenceCode = competenceCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }
    @Column(name="d_role_code")
    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }
    @Column(name="d_role_type")
    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    @Column(name="d_create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name="d_operator_account")
    public String getOperatorAccount() {
        return operatorAccount;
    }

    public void setOperatorAccount(String operatorAccount) {
        this.operatorAccount = operatorAccount;
    }

    @Column(name="d_store_code")
	public String getStoreCode() {
		return storeCode;
	}

	public void setStoreCode(String storeCode) {
		this.storeCode = storeCode;
	}
    
    
}
